/**   
 * 项目名：五位一体化工安全信息平台
 * 日期：    2019-12-09 17:24:07  
 * Copyright (c) 2015- joysuch-版权所有     
 */
package com.joysuch.wwyt.bp.service;

import com.joysuch.wwyt.bp.entity.BpExamAssess;

import com.joysuch.wwyt.bp.bean.BpExamAssessDetailBean;
import com.joysuch.wwyt.bp.bean.BpExamAssessEditBean;
import com.joysuch.wwyt.bp.bean.BpExamAssessListBean;
import static com.joysuch.wwyt.bp.bean.BpExamAssessListBean.Search;
import com.joysuch.wwyt.core.exception.BusinessRestrictionsException;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface BpExamAssessService {

    public BpExamAssess add(BpExamAssessEditBean entity) throws Exception;

    void update(BpExamAssessEditBean entity) throws Exception;

    Page<BpExamAssessListBean> findByPage(Pageable page, Search condition);
    
    void delete(Long id) throws BusinessRestrictionsException;

    BpExamAssessDetailBean getById(Long id);
    
    BpExamAssess findById(Long id);
}
